package com.example.managesystem.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Achievement implements Serializable {
    private Integer itemId;
    private Integer achievementId;

    private Integer thesisStatus;
    private String thesisName;
    private String publicationName;
    private String findType;
    private String findId;
    private String thesisFirstAuthor;

    private Integer patentStatus;
    private String patentName;
    @JsonFormat (pattern = "yyyy-MM-dd")
    private LocalDate authTime;
    private String patentId;

    private Integer worksStatus;
    private String worksName;
    private String worksFirstAuthor;
}
